# SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved.

obj-y := cache.o pageattr.o slab_reclaim.o early_ioremap.o
obj-$(CONFIG_HIGHMEM) += highmem.o
obj-y += pagecache_reclaim.o
obj-y += vmstat.o
obj-$(CONFIG_MMU) += memory.o
CFLAGS_page_alloc.o += -I$(srctree)/mm
obj-y += memblock.o vmalloc.o unimpl.o truncate.o mmap.o page_alloc.o
obj-$(CONFIG_DEBUG_KMEMLEAK) += kmemleak_procfs.o
obj-$(CONFIG_LIBLINUX_NATIVE_KASAN) += kasan_init.o
